<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body{ margin:0; padding:0; font-family:"宋体 Arial"; font-size:12px;}
fieldset{border:1px solid #9FACB7;}
legend{background:#5599ff; color:#FFFFFF; padding:5px 10px; font-size:14px;}
.w60{width:60%!important;}
.w35{width:20%!important;}
.w28{width:28%!important;}
.w20{width:20%!important;}
.cellDiv{border-bottom:#C9C9C9 1px solid; background:#FFFFFF;}
.cellDiv div{float:left; text-align:left; text-indent:4px; overflow:hidden!important; line-height:26px;border-right:#C9C9C9 1px solid;}
.cellDiv div.np_rig{border-right:none;}
.resYes{font-weight: bold; color: #33CC00;} 
.resNo{font-weight: bold; color: #CC3300;}
.clear{clear:both; font-size:0px; line-height:0px; width:0px; height:0px; overflow:hidden; visibility:hidden; float:none!important;}
</style>
</head>
<body>
	<h3 style="background:#E5ECF3; padding:5px; font-size:12px;">> <a href="#">首页</a></h3>
	<div style="padding:5px;">
	<fieldset>
		<legend>服务器信息</legend>
		<div class="cellDiv" style="border-top:1px solid #C9C9C9">
			<div class="w35">服务器时间</div>
			<div class="w60 np_rig">北京时间：<?=gmdate('Y年n月j日 H:i:s',time()+8*3600)?></div>
			<div class="clear"></div>
		</div>
		<div class="cellDiv">
			<div class="w35">服务器域名/IP地址</div>
			<div class="w60 np_rig"><?=$_SERVER['SERVER_NAME']?>(<?=@gethostbyname($_SERVER['SERVER_NAME'])?>)</div>
			<div class="clear"></div>
		</div>
		<div class="cellDiv">
			<div class="w35">服务器操作系统<?$os = explode(" ", php_uname());?></div>
			<div class="w60 np_rig"><?=$os[0];?>&nbsp;内核版本：<?=$os[2]?></div>
			<div class="clear"></div>
		</div>
		<div class="cellDiv">
			<div class="w35">主机名称</div>
			<div class="w60 np_rig"><?=$os[1];?></div>
			<div class="clear"></div>
		</div>
		<div class="cellDiv">
			<div class="w35">服务器解译引擎</div>
			<div class="w60 np_rig"><?=$_SERVER['SERVER_SOFTWARE']?></div>
			<div class="clear"></div>
		</div>
		<div class="cellDiv">
			<div class="w35">Web服务端口</div>
			<div class="w60 np_rig"><?=$_SERVER['SERVER_PORT']?></div>
			<div class="clear"></div>
		</div>
		<div class="cellDiv">
			<div class="w35">目前还有空余空间&nbsp;</div>
			<div class="w60 np_rig"><?=round((@disk_free_space('.')/(1024*1024)),2)?> M</div>
			<div class="clear"></div>
		</div>
	</fieldset>
	</div>
</body>
</html>
